[INFO] cloning repository https://github.com/sacooper/SimpleShell-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sacooper/SimpleShell-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacooper%2FSimpleShell-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacooper%2FSimpleShell-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6fbec7dab15b9119db13772c6790e0f36f5dea9a
[INFO] building sacooper/SimpleShell-Rust against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacooper%2FSimpleShell-Rust" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sacooper/SimpleShell-Rust on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sacooper/SimpleShell-Rust
[INFO] finished tweaking git repo https://github.com/sacooper/SimpleShell-Rust
[INFO] tweaked toml for git repo https://github.com/sacooper/SimpleShell-Rust written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/sacooper/SimpleShell-Rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d7c3ab0ff246ac13e7bf36f167c8950926249fcbd2d3c2ce1777cd66fa363002
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d7c3ab0ff246ac13e7bf36f167c8950926249fcbd2d3c2ce1777cd66fa363002", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7c3ab0ff246ac13e7bf36f167c8950926249fcbd2d3c2ce1777cd66fa363002", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7c3ab0ff246ac13e7bf36f167c8950926249fcbd2d3c2ce1777cd66fa363002", kill_on_drop: false }`
[INFO] [stdout] d7c3ab0ff246ac13e7bf36f167c8950926249fcbd2d3c2ce1777cd66fa363002
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51d021506896fc401e434ea92398d79199ec6b0fb75544b9944f20503a66d3ce
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "51d021506896fc401e434ea92398d79199ec6b0fb75544b9944f20503a66d3ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling RustShell v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/main.rs:29:61
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     let y : Vec<&HistoryEntry> = history.iter().rev().take(10u).collect();
[INFO] [stdout]    |                                                                            ^^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]    --> src/main.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     spawn(proc() {
[INFO] [stdout]     |                                 -^ expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::process`
[INFO] [stdout]  --> src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::process::Command;
[INFO] [stdout]   |              ^^^^^^^ could not find `process` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::process`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ no `process` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/main.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[deriving(Clone)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn execute(args : &Vec<&str>, background : bool, history : &mut Vec<HistoryEntry>, jobs : &mut Vec<JobEntry>) -> Result<(), ()> {
[INFO] [stdout]    |               - help: you might be missing a type parameter: `<uint>`
[INFO] [stdout] ...
[INFO] [stdout] 66 |                     let x : Option<uint> = from_str(args[1]);
[INFO] [stdout]    |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:66:29
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     let x : Option<uint> = from_str(args[1]);
[INFO] [stdout]    |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn execute(args : &Vec<&str>, background : bool, history : &mut Vec<HistoryEntry>, jobs : &mut Vec<JobEntry>) -> Result<(), ()> {
[INFO] [stdout]    |               - help: you might be missing a type parameter: `<uint>`
[INFO] [stdout] ...
[INFO] [stdout] 88 |                     let x : Option<uint> = from_str(args[1]);
[INFO] [stdout]    |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     let x : Option<uint> = from_str(args[1]);
[INFO] [stdout]    |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope
[INFO] [stdout]    --> src/main.rs:117:21
[INFO] [stdout]     |
[INFO] [stdout] 117 |                       let (tx, rx): (Sender<process::Process>, Receiver<process::Process>) = channel();
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     let (tx, rx): (Send<process::Process>, Receiver<process::Process>) = channel();
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::sync::mpsc::Sender;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope
[INFO] [stdout]    --> src/main.rs:117:47
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     let (tx, rx): (Sender<process::Process>, Receiver<process::Process>) = channel();
[INFO] [stdout]     |                                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::ops::Receiver;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::sync::mpsc::Receiver;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `channel` in this scope
[INFO] [stdout]    --> src/main.rs:117:77
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     let (tx, rx): (Sender<process::Process>, Receiver<process::Process>) = channel();
[INFO] [stdout]     |                                                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::sync::mpsc::channel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]    --> src/main.rs:118:6
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     spawn(proc() {
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `proc` in this scope
[INFO] [stdout]    --> src/main.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     spawn(proc() {
[INFO] [stdout]     |                           ^^^^ help: a local variable with a similar name exists: `prog`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/main.rs:151:36
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let input : String = io::stdin().read_line().unwrap_or(String::new());
[INFO] [stdout]     |                                          ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:151:58
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let input : String = io::stdin().read_line().unwrap_or(String::new());
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^ expected `usize`, found struct `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:151:24
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let input : String = io::stdin().read_line().unwrap_or(String::new());
[INFO] [stdout]     |                     ------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |        |
[INFO] [stdout]     |                     |        expected struct `String`, found `usize`
[INFO] [stdout]     |                     |        help: try using a conversion method: `io::stdin().read_line().unwrap_or(String::new()).to_string()`
[INFO] [stdout]     |                     expected due to this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/main.rs:154:28
[INFO] [stdout]     |
[INFO] [stdout] 154 |         else if input == String::from_str("\n"){continue};
[INFO] [stdout]     |                                  ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:31:65
[INFO] [stdout]    |
[INFO] [stdout] 31 |                         let name = x.args.iter().fold(String::new(), |acc, x|{acc.add(x).add(&" ")});
[INFO] [stdout]    |                                                                                   ^^^ method not found in `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ops::Add;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:32:52
[INFO] [stdout]    |
[INFO] [stdout] 32 |                         let name = if x.background {name} else {name.add(&"&")};
[INFO] [stdout]    |                                                                      ^^^ method not found in `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ops::Add;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for mutable reference `&mut Vec<HistoryEntry>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/main.rs:39:20
[INFO] [stdout]     |
[INFO] [stdout] 11  |   struct HistoryEntry{
[INFO] [stdout]     |   ------------------- doesn't satisfy `HistoryEntry: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 39  |                       match history.clone().last(){
[INFO] [stdout]     |                                     ^^^^^ method cannot be called on `&mut Vec<HistoryEntry>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `HistoryEntry: Clone`
[INFO] [stdout]             which is required by `Vec<HistoryEntry>: Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for mutable reference `&mut Vec<HistoryEntry>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/main.rs:47:23
[INFO] [stdout]     |
[INFO] [stdout] 11  |   struct HistoryEntry{
[INFO] [stdout]     |   ------------------- doesn't satisfy `HistoryEntry: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 47  |                       for x in history.clone().iter().rev() {
[INFO] [stdout]     |                                        ^^^^^ method cannot be called on `&mut Vec<HistoryEntry>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `HistoryEntry: Clone`
[INFO] [stdout]             which is required by `Vec<HistoryEntry>: Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `char_at` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/main.rs:48:53
[INFO] [stdout]    |
[INFO] [stdout] 48 |                         if x.args[0].as_slice().char_at(0) == args[1].char_at(0){
[INFO] [stdout]    |                                                                       ^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `tail` found for reference `&Vec<&str>` in the current scope
[INFO] [stdout]    --> src/main.rs:110:20
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 prog.args(args.tail().as_slice());
[INFO] [stdout]     |                                ^^^^ method not found in `&Vec<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope
[INFO] [stdout]    --> src/main.rs:123:90
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     jobs.push(JobEntry{process : p, name : args.iter().fold(String::new(), |acc, x|{acc.add(x).add(&" ")})})}
[INFO] [stdout]     |                                                                                                         ^^^ method not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::ops::Add;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/main.rs:130:66
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 history.push(HistoryEntry{args : args.iter().map(|x|{String::from_str(*x)}).collect(), background : background});
[INFO] [stdout]     |                                                                              ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'r String` in the current scope
[INFO] [stdout]    --> src/main.rs:141:18
[INFO] [stdout]     |
[INFO] [stdout] 141 |         for c in input.as_slice().split(' '){
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `&'r String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 27 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustShell`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "51d021506896fc401e434ea92398d79199ec6b0fb75544b9944f20503a66d3ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51d021506896fc401e434ea92398d79199ec6b0fb75544b9944f20503a66d3ce", kill_on_drop: false }`
[INFO] [stdout] 51d021506896fc401e434ea92398d79199ec6b0fb75544b9944f20503a66d3ce
